<?php
header("Centent-type:text/html;charset=utf-8");
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/1/25 0025
 * Time: 0:52
 */
//$f = fopen('1.txt','w');//在当前路径写入data.php w 写
//
//if($f) {
//    fwrite($f, 'hello php');//写入文件内容
//    fclose($f);
//
//    echo 'ok';
//}else{
//    echo '失败';
//}


//$f = fopen('11','r');
//while(!feof($f)){ //feof测试文件指针是否到了文件结束的位。
//    $con = fgets($f);
//    echo $con;
//}
//fclose($f);

echo file_get_contents('11');